package com.itSession.cn.entity;

import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName: CommentInfo
 * @author: hanP
 * @create: 2021-06-18 14:09:56
 */
public class CommentInfo {
	/** 主键 */
    @ApiModelProperty(value = "主键")
	private Integer commentId;
	/** 评论人 */
    @ApiModelProperty(value = "评论人")
	private String commentName;
	/** 评论帐号 */
    @ApiModelProperty(value = "评论帐号")
	private String commentAccount;
	/** 评论内容 */
    @ApiModelProperty(value = "评论内容")
	private String commentContent;
	/** 评论时间 */
    @ApiModelProperty(value = "评论时间")
	private String commentTime;
	@ApiModelProperty(value = "分享圈id")
	private String commentCircleId;
	@ApiModelProperty(value = "评论人头像")
	private String commentLogo;
	@ApiModelProperty(value = "审核状态")
	private String commentState;

	public String getCommentState() {
		return commentState;
	}

	public void setCommentState(String commentState) {
		this.commentState = commentState;
	}

	public String getCommentLogo() {
		return commentLogo;
	}

	public void setCommentLogo(String commentLogo) {
		this.commentLogo = commentLogo;
	}

	public String getCommentCircleId() {
		return commentCircleId;
	}

	public void setCommentCircleId(String commentCircleId) {
		this.commentCircleId = commentCircleId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}
	
	public Integer getCommentId() {
		return this.commentId;
	}
	
	public void setCommentName(String commentName) {
		this.commentName = commentName;
	}
	
	public String getCommentName() {
		return this.commentName;
	}
	
	public void setCommentAccount(String commentAccount) {
		this.commentAccount = commentAccount;
	}
	
	public String getCommentAccount() {
		return this.commentAccount;
	}
	
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	
	public String getCommentContent() {
		return this.commentContent;
	}

	public String getCommentTime() {
		return commentTime;
	}

	public void setCommentTime(String commentTime) {
		this.commentTime = commentTime;
	}

	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        CommentInfo that = (CommentInfo) o;
        return commentId.equals(that.commentId);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(commentId);
    }
    
    @Override
    public String toString() {
        return "CommentInfo{" +
				"commentId=" + commentId +
						",commentName='" + commentName + "'" + 
						",commentAccount='" + commentAccount + "'" + 
						",commentContent='" + commentContent + "'" + 
						",commentTime='" + commentTime + "'" + 
		                '}';
    }
	
}